<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Js-鸡兔同笼</title>
    <link rel="stylesheet" href="../css/jitu.css">
</head>
<body>
    <div class="container">
        <h2>循环鸡兔同笼问题</h2>
        <p>鸡兔一共<input type="number" name="totalAnimals">只。
            笼子里脚一共<input type="number" name="totalLegs">只，
            请问分别有多少只鸡和兔?<input type="button" value="计算" name="calculateBtn"></p>
        <p id="result"></p>
    </div>
    <script src="../js/jitu.js"></script> 
</body>
</html>